# -*- coding: UTF-8 -*-
'''=================================================
@Project -> File   ：final-work -> Wave_Display.py
@IDE    ：PyCharm
@Author ：Zhou Shuai
@Date   ：2022/4/25 9:08
@Desc   ：
=================================================='''
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import xlrd


df = pd.read_excel("Time_Voltage.xlsx")
print(df)         # label='Voltage'
plt.plot(df["Time"],df["Voltage"],label='Voltage',linewidth=1,color='r',marker='o',markerfacecolor='blue',markersize=1)
plt.xlabel("Time")
plt.ylabel('Voltage')
plt.title("Power_System_Supervise")
plt.legend()
plt.grid()
plt.show()
